import request from '../common/request';

const base: string = 'adminApi';

export async function fileUpload(data: FormData) {
  return request({
    url: `${base}/file/fileUpload`,
    method: 'post',
    data,
  });
}
